package org.sky.logger.json.support;

import org.sky.logger.json.JsonSerializer;

import com.alibaba.fastjson.JSON;

public class FastjsonSerializer implements JsonSerializer {

	public String toJson(Object obj) {
		return JSON.toJSONStringWithDateFormat(obj, "yyyy-MM-dd HH:mm:ss");
	}

}
